/**
Date: 2025-08-13
Copyright (c) 2025 Industrial Software Feature Database
*/
import request from '@/utils/request';

export function getLayerList(query) {
    return request({
        url: '/isfd/layupSkinPropertie/list',
        method: 'post',
        // params: query,
        data:query
    });
}
export function saveLayer(data) {
    return request({
        url: '/isfd/layupSkinPropertie/save',
        method: 'post',
        data: data
    });
}
export function deleteLayer(data) {
    return request({
        url: '/isfd/layupSkinPropertie',
        method: 'delete',
        params: data
    });
}
// 金属壳查询
export function getMetalList(query) {
    return request({
        url: '/isfd/layupMetalCaseMeta/list',
        // method: 'get',
        method: 'post',
        // params: query
        data: query
    });
}
export function addMetal(data) {
    return request({
        url: '/isfd/layupMetalCaseMeta',
        method: 'post',
        data: data
    });
}
export function updateMetal(data) {
    return request({
        url: '/isfd/layupMetalCaseMeta',
        method: 'put',
        data: data
    });
}
export function deleteMetal(data) {
    return request({
        url: '/isfd/layupMetalCaseMeta',
        method: 'delete',
        params: data
    });
}
export function getSections() {
    return request({
        url: '/system/dict/data/list',
        method: 'get',
        params: {pageNum:1, pageSize: 10, dictType: 'parametric_modeling_sections'}
    });
}
export function getPshell(data) {
    return request({
        url: '/isfd/layupMetalCaseMeta/getPshell',
        method: 'get',
        params:data
    });
}
